//
//  MyCell.m
//  UI_豆瓣
//
//  Created by WangZe on 15/10/16.
//  Copyright © 2015年 王泽龙. All rights reserved.
//

#import "MyCell.h"

@implementation MyCell
- (void)dealloc
{
    [_mvName release];
   
    [_mvimageView release];
    [super dealloc];
}
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
       
      
        self.mvimageView = [[UIImageView alloc] init];
        self.mvimageView.frame = CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height / 4 * 3);
        [self.contentView addSubview:self.mvimageView];
        
        self.mvName = [[UILabel alloc] init];
        self.mvName.frame = CGRectMake(0 , self.contentView.frame.size.height / 4 * 3   , self.contentView.frame.size.width , self.contentView.frame.size.height / 4);
        self.mvName.font = [UIFont systemFontOfSize:12];
        self.mvName.backgroundColor = [UIColor whiteColor];
        self.mvName.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.mvName];
    }
    return self;
}
@end
